package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 t_goods
 * 
 * @author ruoyi
 * @date 2024-05-29
 */
public class TBuyerGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品主键 */
    private String goodsId;

    /** 编号 */
    @Excel(name = "编号")
    private String goodsNo;

    /** 名称 */
    @Excel(name = "名称")
    private String goodsName;

    /** 简介 */
    @Excel(name = "简介")
    private String goodsDesc;

    /** 供货商id */
    @Excel(name = "供货商id")
    private String supplierId;

    /** 商品类别 */
    @Excel(name = "商品类别")
    private String goodsType;

    /** 商品单价 */
    @Excel(name = "商品单价")
    private Long price;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private Long supplierStock;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String goodsPicture;

    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsNo(String goodsNo) 
    {
        this.goodsNo = goodsNo;
    }

    public String getGoodsNo() 
    {
        return goodsNo;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsDesc(String goodsDesc) 
    {
        this.goodsDesc = goodsDesc;
    }

    public String getGoodsDesc() 
    {
        return goodsDesc;
    }
    public void setSupplierId(String supplierId) 
    {
        this.supplierId = supplierId;
    }

    public String getSupplierId() 
    {
        return supplierId;
    }
    public void setGoodsType(String goodsType) 
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType() 
    {
        return goodsType;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setSupplierStock(Long supplierStock) 
    {
        this.supplierStock = supplierStock;
    }

    public Long getSupplierStock() 
    {
        return supplierStock;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setGoodsPicture(String goodsPicture) 
    {
        this.goodsPicture = goodsPicture;
    }

    public String getGoodsPicture() 
    {
        return goodsPicture;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsNo", getGoodsNo())
            .append("goodsName", getGoodsName())
            .append("goodsDesc", getGoodsDesc())
            .append("supplierId", getSupplierId())
            .append("goodsType", getGoodsType())
            .append("price", getPrice())
            .append("supplierStock", getSupplierStock())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .append("goodsPicture", getGoodsPicture())
            .toString();
    }
}
